Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

78
Vistas
AWS SDK - Expected params.tags['0'] to be a string

I am trying to create tags based on aws documentation where I need to add tag key with the name of the aws eks cluster.

    const eksCluster = eks
      .createCluster({
        version: "1.21",
        name: `${deployment.name}-eks-cluster`,
        resourcesVpcConfig: {
          securityGroupIds: [eksSgDefault.GroupId],
          subnetIds: [
            subnetprivOne.Subnet.SubnetId,
            subnetprivTwo.Subnet.SubnetId,
          ],
          endpointPublicAccess: true,
          publicAccessCidrs: ["XXXX/X"],
        },
        roleArn: "arn:aws:iam::XXXXXXXX:role/Management-EKS",
        tags: [
          {
            "cluster-name": `${deployment.name}-eks-cluster`,
            [`kubernetes.io/cluster/${deployment.name}-eks-cluster`]: "owned",
          },
        ],
      })
      .promise();

When running this I get Expected params.tags['0'] to be a string. Which means I am somehow failing with this lane:

 [`kubernetes.io/cluster/${deployment.name}-eks-cluster`]: "owned",

Did anyone tried to solve this ?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda